package com.bto.solar.work.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 王小波
 * @description:  表单 可编辑，提交，审批等 按钮权限显示
 * @date 2023/9/14 16:00
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class FormBtnsDto {
    @ApiModelProperty("是否展示审批按钮")
    private Boolean hasApprovalBtn;
    @ApiModelProperty("是否展示编辑按钮")
    private Boolean hasEditBtn;

    @ApiModelProperty("是否可以编辑")
    private Boolean canEdit;

    @ApiModelProperty("是否可以审批")
    private Boolean canApproval;

    @ApiModelProperty("是否显示审核模块")
    private Boolean hasApprovalModule;

    @ApiModelProperty("是否使用审核模块")
    private Boolean canApprovalModule;


    @ApiModelProperty("拒绝原因")
    private ApprovalReq rejectReason;

    @ApiModelProperty("提示")
    private String tips;
}
